We shall plot all the data points of the mtcars dataset and fit a linear regression line to it.
x-axis: Weight of the cary-axis: Miles per gallon (MPG)
2025-03-09
We shall plot all the data points of the mtcars dataset and fit a linear regression line to it.
x-axis: Weight of the cary-axis: Miles per gallon (MPG)## `geom_smooth()` using formula = 'y ~ x'
Githib repo for this slide can be found here